package com.ceshiren.springstudy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author gaoxiaoqi
 * @date 2024/6/4 22:50
 * @description
 */

@Data
@ApiModel(value = "UserDto 实体类",description = "请求参数的用户实体类")
public class UserDto {

    @ApiModelProperty(value = "用户名",example = "高晓琪",required = true)
    private String username;
    @ApiModelProperty(value = "密码",example = "1q2w3e4r",required = true)
    private String password;
}
